﻿
namespace SGTLightAccent.Web.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;
    using System.Data.Objects.DataClasses;
    using System.Linq;
    using System.ServiceModel.DomainServices.Hosting;
    using System.ServiceModel.DomainServices.Server;
    
    
    // The MetadataTypeAttribute identifies aspnet_RolesMetadata as the class
    // that carries additional metadata for the aspnet_Roles class.
    [MetadataTypeAttribute(typeof(aspnet_Roles.aspnet_RolesMetadata))]
    public partial class aspnet_Roles
    {
        
        // This class allows you to attach custom attributes to properties
        // of the aspnet_Roles class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class aspnet_RolesMetadata
        {
            
            // Metadata classes are not meant to be instantiated.
            private aspnet_RolesMetadata()
            {
            }
            
            public Guid ApplicationId { get; set; }
            
            public string Description { get; set; }
            
            public string LoweredRoleName { get; set; }
            
            public Guid RoleId { get; set; }
            
            public string RoleName { get; set; }
        }
    }
    
    // The MetadataTypeAttribute identifies aspnet_UsersMetadata as the class
    // that carries additional metadata for the aspnet_Users class.
    [MetadataTypeAttribute(typeof(aspnet_Users.aspnet_UsersMetadata))]
    public partial class aspnet_Users
    {
        
        // This class allows you to attach custom attributes to properties
        // of the aspnet_Users class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class aspnet_UsersMetadata
        {
            
            // Metadata classes are not meant to be instantiated.
            private aspnet_UsersMetadata()
            {
            }
            
            public Guid ApplicationId { get; set; }
            
            public bool IsAnonymous { get; set; }
            
            public DateTime LastActivityDate { get; set; }
            
            public string LoweredUserName { get; set; }
            
            public string MobileAlias { get; set; }
            
            public Guid UserId { get; set; }
            
            public string UserName { get; set; }
        }
    }
    
    // The MetadataTypeAttribute identifies BarcoMetadata as the class
    // that carries additional metadata for the Barco class.
    [MetadataTypeAttribute(typeof(Barco.BarcoMetadata))]
    public partial class Barco
    {
        
        // This class allows you to attach custom attributes to properties
        // of the Barco class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class BarcoMetadata
        {
            
            // Metadata classes are not meant to be instantiated.
            private BarcoMetadata()
            {
            }
            
            public EntityCollection<Carga> Carga { get; set; }
            
            public string Empresa { get; set; }
            
            public int id { get; set; }
            
            public string Nombre { get; set; }
        }
    }
    
    // The MetadataTypeAttribute identifies BodegaMetadata as the class
    // that carries additional metadata for the Bodega class.
    [MetadataTypeAttribute(typeof(Bodega.BodegaMetadata))]
    public partial class Bodega
    {
        
        // This class allows you to attach custom attributes to properties
        // of the Bodega class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class BodegaMetadata
        {
            
            // Metadata classes are not meant to be instantiated.
            private BodegaMetadata()
            {
            }
            
            public Carga Carga { get; set; }
            
            public Nullable<int> Carga_FK { get; set; }
            
            public int id { get; set; }
            
            public Mercaderia Mercaderia { get; set; }
            
            public Nullable<int> Mercaderia_FK { get; set; }
            
            public int Numero { get; set; }
            
            public EntityCollection<Remito_Barco> Remito_Barco { get; set; }
            
            public Nullable<decimal> Toneladas { get; set; }
        }
    }
    
    // The MetadataTypeAttribute identifies CargaMetadata as the class
    // that carries additional metadata for the Carga class.
    [MetadataTypeAttribute(typeof(Carga.CargaMetadata))]
    public partial class Carga
    {
        
        // This class allows you to attach custom attributes to properties
        // of the Carga class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class CargaMetadata
        {
            
            // Metadata classes are not meant to be instantiated.
            private CargaMetadata()
            {
            }
            
            public Barco Barco { get; set; }
            
            public Nullable<int> Barco_FK { get; set; }
            
            public EntityCollection<Bodega> Bodega { get; set; }
            
            public Nullable<DateTime> Fecha_Ingreso { get; set; }
            
            public Nullable<DateTime> Fecha_Salida { get; set; }
            
            public int Id { get; set; }
            
            public Nullable<decimal> Peso { get; set; }
            
            public Proveedor Proveedor { get; set; }
            
            public Nullable<int> Proveedor_FK { get; set; }
            
            public EntityCollection<Remito_Barco> Remito_Barco { get; set; }
        }
    }
    
    // The MetadataTypeAttribute identifies ConfiguracionesMetadata as the class
    // that carries additional metadata for the Configuraciones class.
    [MetadataTypeAttribute(typeof(Configuraciones.ConfiguracionesMetadata))]
    public partial class Configuraciones
    {
        
        // This class allows you to attach custom attributes to properties
        // of the Configuraciones class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class ConfiguracionesMetadata
        {
            
            // Metadata classes are not meant to be instantiated.
            private ConfiguracionesMetadata()
            {
            }
            
            public int ConfigID { get; set; }
            
            public string Parametro { get; set; }
            
            public string Valor { get; set; }
        }
    }
    
    // The MetadataTypeAttribute identifies DepositoMetadata as the class
    // that carries additional metadata for the Deposito class.
    [MetadataTypeAttribute(typeof(Deposito.DepositoMetadata))]
    public partial class Deposito
    {
        
        // This class allows you to attach custom attributes to properties
        // of the Deposito class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class DepositoMetadata
        {
            
            // Metadata classes are not meant to be instantiated.
            private DepositoMetadata()
            {
            }
            
            public int DepositoID { get; set; }
            
            public string Direccion { get; set; }
            
            public string Nombre { get; set; }
            
            public EntityCollection<Remito_Barco> Remito_Barco { get; set; }
        }
    }
    
    // The MetadataTypeAttribute identifies MercaderiaMetadata as the class
    // that carries additional metadata for the Mercaderia class.
    [MetadataTypeAttribute(typeof(Mercaderia.MercaderiaMetadata))]
    public partial class Mercaderia
    {
        
        // This class allows you to attach custom attributes to properties
        // of the Mercaderia class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class MercaderiaMetadata
        {
            
            // Metadata classes are not meant to be instantiated.
            private MercaderiaMetadata()
            {
            }
            
            public EntityCollection<Bodega> Bodega { get; set; }
            
            public Nullable<double> Densidad { get; set; }
            
            public int MercaderiaID { get; set; }
            
            public string Nombre { get; set; }
        }
    }
    
    // The MetadataTypeAttribute identifies ProveedorMetadata as the class
    // that carries additional metadata for the Proveedor class.
    [MetadataTypeAttribute(typeof(Proveedor.ProveedorMetadata))]
    public partial class Proveedor
    {
        
        // This class allows you to attach custom attributes to properties
        // of the Proveedor class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class ProveedorMetadata
        {
            
            // Metadata classes are not meant to be instantiated.
            private ProveedorMetadata()
            {
            }
            
            public EntityCollection<Carga> Carga { get; set; }
            
            public string Contacto { get; set; }
            
            public string Direccion { get; set; }
            
            public string Nombre { get; set; }
            
            public int ProveedorID { get; set; }
            
            public EntityCollection<Remito_Barco> Remito_Barco { get; set; }
            
            public string Telefono { get; set; }
            
            public string Usuario_FK { get; set; }
        }
    }
    
    // The MetadataTypeAttribute identifies Remito_BarcoMetadata as the class
    // that carries additional metadata for the Remito_Barco class.
    [MetadataTypeAttribute(typeof(Remito_Barco.Remito_BarcoMetadata))]
    public partial class Remito_Barco
    {
        
        // This class allows you to attach custom attributes to properties
        // of the Remito_Barco class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class Remito_BarcoMetadata
        {
            
            // Metadata classes are not meant to be instantiated.
            private Remito_BarcoMetadata()
            {
            }
            
            public Bodega Bodega { get; set; }
            
            public Nullable<int> Bodega_FK { get; set; }
            
            public Carga Carga { get; set; }
            
            public Nullable<int> Carga_FK { get; set; }
            
            public Deposito Deposito { get; set; }
            
            public Nullable<int> Deposito_FK { get; set; }
            
            public Nullable<DateTime> Hora_Llegada { get; set; }
            
            public Nullable<DateTime> Hora_Salida { get; set; }
            
            public int Id { get; set; }
            
            public string Matricula_2 { get; set; }
            
            public string Matricula_Camion { get; set; }
            
            public string Numero_Remito { get; set; }
            
            public Nullable<int> Numero_Remito_Carga { get; set; }
            
            public string Observaciones { get; set; }
            
            public Nullable<decimal> Peso_ANP { get; set; }
            
            public Nullable<decimal> Peso_Bruto { get; set; }
            
            public Nullable<decimal> Peso_Bruto2 { get; set; }
            
            public Proveedor Proveedor { get; set; }
            
            public Nullable<int> Proveedor_FK { get; set; }
            
            public Remito_Barco Remito_Barco1 { get; set; }
            
            public Remito_Barco Remito_Barco2 { get; set; }
            
            public Nullable<decimal> Tara { get; set; }
            
            public Nullable<decimal> Tara2 { get; set; }
        }
    }
}
